package com.xzjie.cms.persistence.annotation;

import com.xzjie.cms.persistence.enums.ConditionType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface QueryCondition {
    String value() default "";

    String[] blurry() default {};

    ConditionType connect() default ConditionType.EQUAL;
}
